package edu.nf.vrs.app.config;

import io.swagger.v3.oas.annotations.ExternalDocumentation;
import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.info.License;
import org.springframework.context.annotation.Configuration;

/**
 * Author: @Wai
 * Date: 2022-4-12
 */
@Configuration
@OpenAPIDefinition(
        info = @Info(title = "小程序预约接口文档", version = "v1.0",
                description = "疫苗预约小程序<br>登陆后每次请求必须将JWT放入请求的header中。格式：Authorization:Bearer token",
                license = @License(name="MIT", url = "https://springdoc.org")),
        externalDocs = @ExternalDocumentation(description = "参考文档",
                url = "https://gitee.com/wetori/vrs-project"))
public class OpenApiConfig {
}
